<%@ include file="/inc/header.jsp" %>

<script type="text/javascript">
	$(document).ready(function() {
	   $('#eleve').ajaxForm({
	      type: 'POST',
	      url: 'ajax/show',
	      target: '#results'
	   });
	});
</script>

<span class="titrePage">
	<spring:message code="entity.Eleve" />
</span>
<br/>
<br/>
<blockquote>

	<common:messages />
	
	<div class="formLayout">
	<form:form modelAttribute="eleve" action="show" method="POST">
	<fieldset>
		<legend><spring:message code="title.search"/></legend>
		<form:hidden path="id" />

		<label for="prenom"><spring:message code="field.prenom" /></label>
		<form:input path="prenom" /> <br />

		<label for="nom"><spring:message code="field.nom" /></label>
		<form:input path="nom" /> <br />
	
		<label for="classe"><spring:message code="field.classe" /></label>
		<form:input path="classe" /> <br />
		<div class="buttonBar" align="center">
		<input value="<spring:message code="button.search"/>" type="submit" />
		</div>
	</fieldset>
	</form:form>
	</div>
</blockquote>

<span class="titrePage">
	<spring:message code="libelle.titreaddresultsearch"/>
</span>
<br/>
<div id="results">

<%@ include file="results.jsp" %>

</div>
<br/>
<br/>
<a href="javascript:history.back()"><spring:message code="libelle.retour"/></a>

<%@ include file="/inc/footer.jsp" %>
